package com.niiwoo.civet.mobile.vo.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

@Setter
@Getter
@ApiModel("肖像认证请求")
public class PortraitAuthRequestVO {

    @NotNull
    @ApiModelProperty(name = "渠道(1 - face++)", notes = "1 - face++")
    private Byte channel;

    @ApiModelProperty(name = "face++校验字符串", notes = "face++必传")
    private String delta;

    @NotBlank
    @ApiModelProperty(name = "活体照片base64字符串")
    private String liveImageBase64;

    @NotBlank
    @ApiModelProperty(name = "face++对比照片base64字符串")
    private String facePlusEnvImageBase64;

    @NotNull
    @ApiModelProperty(name = "设备类型(1 - andoird, 2 - ios , 3 - h5, 4 - web)")
    private Byte clientType;

}
